<?php

namespace app\repositories\contracts;

/***
 * Interface ConfigInterface
 * @NAMESPACE app\repositories\contracts
 * @Author Vee7
 * @Date 2021/12/14
 * @Time 13:11
 * @Description 后台配置接口
 */
interface ConfigInterface
{
    /***
     * @return mixed
     * @Author Vee7
     * @Date 2021/12/14
     * @Time 13:11
     * @Description 获取后台配置列表
     */
    public function getConfigList($orderby='sort',$order='desc');

    public function addConfigList(array $addArray);

    public function getConfigListCount();

    public function getConfigListPage($page,$limit,$orderby='sort',$order='desc');

    public function delConfigList(array $id);

    public function editConfigList(array $data);

}